home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / tagcalls / datatypes.inc < prev    next >
Text File  |  1998-06-24  |  1KB  |  64 lines

  1. pattern DoDTMethod(_o,_win,_req, ...) is
  2.     push a2\a3\a6;
  3.     push.l ...;
  4.     safe a0:=_o; a1:=_win; a2:=_req; a3:=sp;;
  5.     a6:=DataTypesBase; jsr [a6-90];
  6.     sp:=sp+countof(...)<<2;
  7.     pop a2\a3\a6;
  8. endp;                                                            # DODTMETHOD
  9.  
  10. pattern GetDTAttrs(_o, ...) is
  11.     push a2\a6;
  12.     push.l ...;
  13.     safe a0:=_o; a2:=sp;;
  14.     a6:=DataTypesBase; jsr [a6-66];
  15.     sp:=sp+countof(...)<<2;
  16.     pop a2\a6;
  17. endp;                                                            # GETDTATTRS
  18.  
  19. pattern NewDTObject(_name, ...) is
  20.     push a6;
  21.     push.l ...;
  22.     safe d0.l:=_name; a0:=sp;;
  23.     a6:=DataTypesBase; jsr [a6-48];
  24.     sp:=sp+countof(...)<<2;
  25.     pop a6;
  26. endp;                                                            # NEWDTOBJECT
  27.  
  28. pattern ObtainDataType(_type,_handle, ...) is
  29.     push a6;
  30.     push.l ...;
  31.     safe d0.l:=_type; a0:=_handle; a1:=sp;;
  32.     a6:=DataTypesBase; jsr [a6-36];
  33.     sp:=sp+countof(...)<<2;
  34.     pop a6;
  35. endp;                                                            # OBTAINDATATYPE
  36.  
  37. pattern PrintDTObject(_o,_w,_r, ...) is
  38.     push a2\a3\a6;
  39.     push.l ...;
  40.     safe a0:=_o; a1:=_w; a2:=_r; a3:=sp;;
  41.     a6:=DataTypesBase; jsr [a6-114];
  42.     sp:=sp+countof(...)<<2;
  43.     pop a2\a3\a6;
  44. endp;                                                            # PRINTDTOBJECT
  45.  
  46. pattern RefreshDTObject(_o,_win,_req, ...) is
  47.     push a2\a3\a6;
  48.     push.l ...;
  49.     safe a0:=_o; a1:=_win; a2:=_req; a3:=sp;;
  50.     a6:=DataTypesBase; jsr [a6-78];
  51.     sp:=sp+countof(...)<<2;
  52.     pop a2\a3\a6;
  53. endp;                                                            # REFRESHDTOBJECT
  54.  
  55. pattern SetDTAttrs(_o,_win,_req, ...) is
  56.     push a2\a3\a6;
  57.     push.l ...;
  58.     safe a0:=_o; a1:=_win; a2:=_req; a3:=sp;;
  59.     a6:=DataTypesBase; jsr [a6-60];
  60.     sp:=sp+countof(...)<<2;
  61.     pop a2\a3\a6;
  62. endp;                                                            # SETDTATTRS
  63.  
  64.